/*
 * @Description: 
 * @Autor: wangwangwang
 * @Date: 2021-01-12 12:08:10
 * @LastEditors: wangwangwang
 * @LastEditTime: 2021-05-31 15:22:33
 */
export const queryPage = '/icps/system/sign/intelligent/materials/plan/production/queryPage'
export const saveOrUpdate = '/icps/system/sign/intelligent/materials/plan/production/save'
import request from '@/utils/request'
//入库/确认完工
export function updateDataStatus(data) {
  return request({
    url: '/icps/system/sign/intelligent/materials/plan/production/updateDataStatus',
    method: 'post',
    data
  })
}
//特材原料/成品，分页查询
export function productList(data) {
  return request({
    url: '/icps/system/sign/intelligent/materials/product/queryPage',
    method: 'post',
    data
  })
}
//分页查询特材罐
export function tankList(data) {
  return request({
    url: '/icps/system/sign/intelligent/materials/tank/queryPage',
    method: 'post',
    data
  })
}
/**通过特材成品名称获取废料罐*/
export function getWasteListByProductId(params) {
  return request({
    url: '/icps/system/sign/intelligent/materials/tank/getWasteListByProductId',
    method: 'get',
    params
  })
}
